﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ARS.Control.Custom.Entity.Fields
{
    public class DateTimeField:Field
    {
        /// <summary>
        /// 日期格式
        /// </summary>
        public const string DATEFORMAT = "yyyy-MM-dd";
        /// <summary>
        /// 时间格式
        /// </summary>
        public const string TIMEFORMAT = "HH:mm:ss";

        public DateTimeField()
        {
            base.Widget = new Forms.DateTimeForm();
        }

        private string _DateTimeFormat = "yyyy-MM-dd HH:mm:ss";
        public string DateTimeFormat
        {
            get
            {
                return this._DateTimeFormat;
            }
            set
            {
                this._DateTimeFormat = value;
            }
        }

    }
}
